MailPoet\AutomaticEmails\WooCommerce\Events\PurchasedProduct S

Total Complexity 19
Dependencies 11
Dependents 3
Total lines 167
Lines of code 129
Logical lines of code 57
Comment lines 8
Methods 7
Properties 4

Methods 7

Method Rating Maintainability Complexity Lines of code
scheduleEmailWhenProductIsPurchased()
A
44 8 49
getProducts()
S
53 2 24
init()
S
58 2 17
__construct()
S
65 2 9
metaModifier()
S
67 2 8
getProductIdsMatchingNewsletterTrigger()
S
66 2 8
getEventDetails()
S
59 1 14